name.synonym = 4-Keto-Retinoate;4-Keto-Retinoic acid;4-Ketoretinoate;4-Ketoretinoic acid;4-Oxo-all-trans-retinoate;4-Oxo-all-trans-retinoic acid;4-Oxoretinoate;4-Oxoretinoic acid;4-Oxotretinoin;All-trans-4-Oxoretinoate;All-trans-4-Oxoretinoic acid;Ro 11-4824;Ro 12-4824 filter.purchasability = all page.num = 1
SELECT DISTINCT(ci.sub_id_fk) AS sub_id FROM catalog_item AS ci INNER JOIN catalog AS c ON ci.cat_id_fk=c.cat_id INNER JOIN synonym AS syn ON (ci.cat_id_fk=syn.cat_fk AND ci.supplier_code=syn.supplier_code) INNER JOIN field AS f ON syn.field_fk=f.field_id WHERE c.free = 1 AND syn.synonym IS NOT NULL AND syn.synonym LIKE '4-Keto-Retinoate;4-Keto-Retinoic acid;4-Ketoretinoate;4-Ketoretinoic acid;4-Oxo-all-trans-retinoate;4-Oxo-all-trans-retinoic acid;4-Oxoretinoate;4-Oxoretinoic acid;4-Oxotretinoin;All-trans-4-Oxoretinoate;All-trans-4-Oxoretinoic acid;Ro 11-4824;Ro 12-4824' AND f.ftype IN (3,7,11,12,14) AND ci.sub_id_fk IN (SELECT ci.sub_id_fk AS sub_id FROM catalog_item AS ci INNER JOIN catalog AS c ON ci.cat_id_fk=c.cat_id WHERE c.free = 1 ) LIMIT 50